package com.osfw.dbadminer.enums;

import lombok.Getter;


@Getter
public enum SqlKeyWords {
    /**
     * 关键字
     */
    CHAR("char"),
    VARCHAR("varchar"),
    INT("int"),
    SMALLINT("smallint"),
    NUMERIC("numeric"),
    REAL("real"),
    DOUBLE("double"),
    PRECISION("precision"),
    FLOAT("float"),
    PRIMARY_KEY("primary key"),
    FOREIGN_KEY("foreign key"),
    NOT_NULL("not null"),
    CREATE("create"),
    DROP("drop"),
    TABLE("table"),
    INSERT("insert"),
    INTO("insert"),
    VALUES("values"),
    UPDATE("update"),
    SET("set"),
    DELETE("delete"),
    SELECT("select"),
    FROM("from"),
    DISTINCT("distinct"),
    WHERE("where"),
    AND("and"),
    OR("or"),
    BETWEEN("between"),
    IN("in"),
    LIMIT("limit"),
    ORDER_BY("order by"),
    GROUP_BY("group by"),
    HAVING("having"),
    DESC("desc"),
    ASC("asc"),
    AS("as"),
    UNION("union"),
    UNION_ALL("union all"),
    IS_NULL("is null"),
    IS_NOT_NULL("is not null"),
    SVG("svg"),
    MIN("min"),
    MAX("max"),
    SUM("sum"),
    COUNT("count"),
    ;
    private String content;
    SqlKeyWords(String content){
        this.content = content;
    }
}
